package com.example.sqlex;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.ImageView;

public class IntroFrag extends Fragment {
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		
		View view = inflater.inflate(R.layout.intro_layout, container, false);
		
		Animation animation;
		ImageView iv = (ImageView)view.findViewById(R.id.imageView1);
		
    	iv.setImageResource(R.drawable.ms01);
    	animation = AnimationUtils.loadAnimation(getActivity(), R.anim.animation);
		iv.startAnimation(animation);

		return view;
	}
}
